package com.lzq.course.server.dto;

/**
 * 课程 自动排序dto
 */
public class SortDto {
    /**
     * 旧排序
     */
    private int oldValue;

    /**
     * 新排序
     */
    private int newValue;

    /**
     * 课程id
     */
    private String id;

    public int getOldValue() {
        return oldValue;
    }

    public void setOldValue(int oldValue) {
        this.oldValue = oldValue;
    }

    public int getNewValue() {
        return newValue;
    }

    public void setNewValue(int newValue) {
        this.newValue = newValue;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    @Override
    public String toString() {
        final StringBuffer sb = new StringBuffer("SortDto{");
        sb.append("oldValue=").append(oldValue);
        sb.append(", newValue=").append(newValue);
        sb.append(", id='").append(id).append('\'');
        sb.append('}');
        return sb.toString();
    }
}
